Comments (3)
Why would lib/
have read-only files?
from projen.
jialechan@CJL-macbook ~ $ mkdir my-project && cd my-project
jialechan@CJL-macbook ~/my-project $ git init
Initialized empty Git repository in /Users/jialechan/my-project/.git/
jialechan@CJL-macbook ~/my-project $ npx projen new jsii \
> --name my-module \
> --author-name "Elad Ben-Israel" \
> --author-email "[email protected]" \
> --repository "https://github.com/eladb/my-module.git"
npx: 36 安装成功,用时 2.909 秒
Project config created for "JsiiProject" project in .projenrc.js.
Now run `npx projen && yarn install` (or `pj` if you are one of the cool kids with an alias).
jialechan@CJL-macbook ~/my-project $ npx projen && yarn install
npx: 36 安装成功,用时 1.7 秒
yarn install v1.22.4
info No lockfile found.
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request > [email protected]: this library is no longer supported
warning jest > @jest/core > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning jest > @jest/core > jest-haste-map > sane > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
[3/5] 🚚 Fetching packages...
[4/5] 🔗 Linking dependencies...
[5/5] 🔨 Building fresh packages...
success Saved lockfile.
✨ Done in 80.36s.
jialechan@CJL-macbook ~/my-project $ yarn build
yarn run v1.22.4
$ yarn test && yarn compile && yarn run package
$ yarn eslint && rm -fr lib/ && jest --passWithNoTests --updateSnapshot
$ eslint . --ext .ts
^C
jialechan@CJL-macbook ~/my-project $ sudo yarn build
yarn run v1.22.4
$ yarn test && yarn compile && yarn run package
$ yarn eslint && rm -fr lib/ && jest --passWithNoTests --updateSnapshot
$ eslint . --ext .ts
PASS test/hello.test.ts
✓ hello (2 ms)
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files | 100 | 100 | 100 | 100 |
index.ts | 100 | 100 | 100 | 100 |
----------|---------|----------|---------|---------|-------------------
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 1.757 s, estimated 3 s
Ran all test suites.
$ jsii --silence-warnings=reserved-word && jsii-docgen
$ jsii-pacmak
✨ Done in 11.59s.
jialechan@CJL-macbook ~/my-project $
'yarn build' not working.
'sudo yarn build' is ok
from projen.
This is not a bug in projen. This is due to the sudo
. Also you would run npx projen build which include tests these days.
This is closable. @eladb
from projen.
Related Issues (20)
- feat(react): Node Library to publish (to NPM) that supports React/JSX HOT 6
- Links in README for built-in project types are broken HOT 1
- AWS CDK CLI not accessible in Python CDK projects HOT 1
- Where to find Project type Docs during Doc Migration to new site? HOT 1
- Fix .gitignore generation on Windows HOT 1
- Allow github release to be explicitly set as latest or explicitly not be latest
- Add dependency via CLI/projen task HOT 2
- manual publishing in a (GitLab) CI environment breaks because of alternative behavior when CI environment variable is set HOT 9
- feat(typescript): tsconfig paths handled automatically by ts-jest pathsToModuleMapper HOT 2
- cross-platform: use forward slash as directory separator for all platforms HOT 5
- Publishing v0.79.2 to Maven Central failed HOT 3
- `awscdk-app-py` project does not fully respect `--app-entrypoint` value
- Error messages for npx projen new are not helpful HOT 2
- Issues with New Child Project Release Feature and Duplicate Projen Package Installation HOT 15
- Tsconfig CompilerOptions missing `incremental` and `downlevelIteration`
- GitHub Job interface made into or complemented with a class that has helpers to aid building a job HOT 5
- After upgrading to projen: error TS1110: Type expected. HOT 3
- Add support for Gitlab trigger:forward keyword
- `projen upgrade` fails due to `pnpx` deprecation HOT 2
- setting `--commitGenerated` to false causes npx projen to fail when ran in a pipeline or cloned repository. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from projen.