diff --git a/AppScope/app.json5 b/AppScope/app.json5 index cbf5ebe..0a0494f 100644 --- a/AppScope/app.json5 +++ b/AppScope/app.json5 @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "app": { "bundleName": "com.ohos.note", diff --git a/build-profile.json5 b/build-profile.json5 index c4f110d..df83ecd 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -1,25 +1,25 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "app": { - "signingConfigs": [ - { - "name": "default", - "material": { - "certpath": "C:\\Users\\guozejun\\.ohos\\config\\openharmony\\auto_ohos.cer", - "storePassword": "00000018035E698FB1A7DFC883238A2A69A2877CEA9F7EADF6BC5D3D8918BD43F98F9E26BED5AC6D", - "keyAlias": "debugKey", - "keyPassword": "00000018E6C69A0418CAC1A82D15325871C768E48F487BF0FCC9D9CDB175416838102FE38F73863C", - "profile": "C:\\Users\\guozejun\\.ohos\\config\\openharmony\\auto_ohos_default_com.ohos.note.p7b", - "signAlg": "SHA256withECDSA", - "storeFile": "C:\\Users\\guozejun\\.ohos\\config\\openharmony\\auto_ohos.p12" - } - } - ], "compileSdkVersion": 9, "compatibleSdkVersion": 9, "products": [ { "name": "default", - "signingConfig": "default", } ] }, diff --git a/common/component/build-profile.json5 b/common/component/build-profile.json5 index 35dff6d..c6e5a1e 100644 --- a/common/component/build-profile.json5 +++ b/common/component/build-profile.json5 @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "apiType": "stageMode", "buildOption": { diff --git a/common/component/index.ets b/common/component/index.ets index 196b1b5..1c1e0b7 100644 --- a/common/component/index.ets +++ b/common/component/index.ets @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export * from './src/main/ets/components/CusDialogComp'; export * from './src/main/ets/components/FolderListComp'; export * from './src/main/ets/components/NoteContent'; diff --git a/common/component/package.json b/common/component/package.json index a378052..95679aa 100644 --- a/common/component/package.json +++ b/common/component/package.json @@ -1,17 +1,17 @@ { - "license":"ISC", - "types":"", - "devDependencies":{}, - "name":"@ohos/component", - "description":"a npm package which contains arkUI2.0 page", - "ohos":{ - "org":"" + "license": "ISC", + "types": "", + "devDependencies": {}, + "name": "@ohos/component", + "description": "a npm package which contains arkUI2.0 page", + "ohos": { + "org": "" }, - "main":"index.ets", - "repository":{}, - "version":"1.0.0", - "dependencies":{ - "@ohos/utils":"file:../utils", - "@ohos/source":"file:../resources" + "main": "index.ets", + "repository": {}, + "version": "1.0.0", + "dependencies": { + "@ohos/utils": "file:../utils", + "@ohos/source": "file:../resources" } -} \ No newline at end of file +} diff --git a/common/component/src/main/module.json5 b/common/component/src/main/module.json5 index 8d6152e..b6442a2 100644 --- a/common/component/src/main/module.json5 +++ b/common/component/src/main/module.json5 @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "module": { "name": "component", diff --git a/common/resources/build-profile.json5 b/common/resources/build-profile.json5 index 35dff6d..c6e5a1e 100644 --- a/common/resources/build-profile.json5 +++ b/common/resources/build-profile.json5 @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "apiType": "stageMode", "buildOption": { diff --git a/common/resources/index.ets b/common/resources/index.ets index 1bb64ac..73d578c 100644 --- a/common/resources/index.ets +++ b/common/resources/index.ets @@ -1 +1,16 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export { MainPage } from './src/main/ets/components/MainPage/MainPage' diff --git a/common/resources/package-lock.json b/common/resources/package-lock.json index f5b4af4..e254bc2 100644 --- a/common/resources/package-lock.json +++ b/common/resources/package-lock.json @@ -1,5 +1,5 @@ { - "name": "@ohos/source", + "name": "@ohos/resources", "version": "1.0.0", "lockfileVersion": 1 } diff --git a/common/resources/src/main/ets/components/MainPage/MainPage.ets b/common/resources/src/main/ets/components/MainPage/MainPage.ets index 0f54030..2365629 100644 --- a/common/resources/src/main/ets/components/MainPage/MainPage.ets +++ b/common/resources/src/main/ets/components/MainPage/MainPage.ets @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + @Entry @Component export struct MainPage { diff --git a/common/resources/src/main/module.json5 b/common/resources/src/main/module.json5 index dc977cc..ed81e03 100644 --- a/common/resources/src/main/module.json5 +++ b/common/resources/src/main/module.json5 @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "module": { "name": "resources", diff --git a/common/utils/build-profile.json5 b/common/utils/build-profile.json5 index 35dff6d..c6e5a1e 100644 --- a/common/utils/build-profile.json5 +++ b/common/utils/build-profile.json5 @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "apiType": "stageMode", "buildOption": { diff --git a/common/utils/index.ets b/common/utils/index.ets index f64a754..835b75f 100644 --- a/common/utils/index.ets +++ b/common/utils/index.ets @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export * from './src/main/ets/default/access/MediaLibraryAccess'; export * from './src/main/ets/default/baseUtil/DateUtil'; export * from './src/main/ets/default/baseUtil/FolderUtil'; diff --git a/common/utils/package.json b/common/utils/package.json index acf594b..6581745 100644 --- a/common/utils/package.json +++ b/common/utils/package.json @@ -1,16 +1,16 @@ { - "license":"ISC", - "types":"", - "devDependencies":{}, - "name":"@ohos/utils", - "description":"a npm package which contains arkUI2.0 page", - "ohos":{ - "org":"" + "license": "ISC", + "types": "", + "devDependencies": {}, + "name": "@ohos/utils", + "description": "a npm package which contains arkUI2.0 page", + "ohos": { + "org": "" }, - "main":"index.ets", - "repository":{}, - "version":"1.0.0", - "dependencies":{ - "@ohos/source":"file:../resources" + "main": "index.ets", + "repository": {}, + "version": "1.0.0", + "dependencies": { + "@ohos/source": "file:../resources" } -} \ No newline at end of file +} diff --git a/common/utils/src/main/module.json5 b/common/utils/src/main/module.json5 index 951fd7d..93ca104 100644 --- a/common/utils/src/main/module.json5 +++ b/common/utils/src/main/module.json5 @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "module": { "name": "utils", diff --git a/product/phone/build-profile.json5 b/product/phone/build-profile.json5 index 7e16d13..a011ff8 100644 --- a/product/phone/build-profile.json5 +++ b/product/phone/build-profile.json5 @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "apiType": 'stageMode', "buildOption": { diff --git a/product/phone/package.json b/product/phone/package.json index e161814..4e725b2 100644 --- a/product/phone/package.json +++ b/product/phone/package.json @@ -1,18 +1,18 @@ { - "license":"ISC", - "devDependencies":{}, - "name":"phone", - "ohos":{ - "org":"huawei", - "directoryLevel":"module", - "buildTool":"hvigor" + "license": "ISC", + "devDependencies": {}, + "name": "phone", + "ohos": { + "org": "huawei", + "directoryLevel": "module", + "buildTool": "hvigor" }, - "description":"example description", - "repository":{}, - "version":"1.0.0", - "dependencies":{ - "@ohos/utils":"file:../../common/utils", - "@ohos/component":"file:../../common/component", - "@ohos/source":"file:../../common/resources" + "description": "example description", + "repository": {}, + "version": "1.0.0", + "dependencies": { + "@ohos/utils": "file:../../common/utils", + "@ohos/component": "file:../../common/component", + "@ohos/source": "file:../../common/resources" } -} \ No newline at end of file +} diff --git a/product/phone/src/main/module.json5 b/product/phone/src/main/module.json5 index b2c1c54..6353f7b 100644 --- a/product/phone/src/main/module.json5 +++ b/product/phone/src/main/module.json5 @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "module": { "name": "phone", diff --git a/product/tablet/build-profile.json5 b/product/tablet/build-profile.json5 index 7e16d13..a011ff8 100644 --- a/product/tablet/build-profile.json5 +++ b/product/tablet/build-profile.json5 @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "apiType": 'stageMode', "buildOption": { diff --git a/product/tablet/package.json b/product/tablet/package.json index 4cfedc4..a398728 100644 --- a/product/tablet/package.json +++ b/product/tablet/package.json @@ -1,18 +1,18 @@ { - "license":"ISC", - "devDependencies":{}, - "name":"tablet", - "ohos":{ - "org":"huawei", - "directoryLevel":"module", - "buildTool":"hvigor" + "license": "ISC", + "devDependencies": {}, + "name": "tablet", + "ohos": { + "org": "huawei", + "directoryLevel": "module", + "buildTool": "hvigor" }, - "description":"example description", - "repository":{}, - "version":"1.0.0", - "dependencies":{ - "@ohos/utils":"file:../../common/utils", - "@ohos/component":"file:../../common/component", - "@ohos/source":"file:../../common/resources" + "description": "example description", + "repository": {}, + "version": "1.0.0", + "dependencies": { + "@ohos/utils": "file:../../common/utils", + "@ohos/component": "file:../../common/component", + "@ohos/source": "file:../../common/resources" } -} \ No newline at end of file +} diff --git a/product/tablet/src/main/module.json5 b/product/tablet/src/main/module.json5 index 83c5076..4199e51 100644 --- a/product/tablet/src/main/module.json5 +++ b/product/tablet/src/main/module.json5 @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2022 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + { "module": { "name": "tablet",